import os
import sys

if len(sys.argv) < 2 :
    sys.exit()


path = sys.argv[1]

for dirpath,dirnames,filenames in os.walk(path):
    for file in filenames:
        fullpath = os.path.join(dirpath,file)
        print fullpath